package com.lingtianyu.tech.erbaoshen.core.provider.bean.annotation;

import org.springframework.stereotype.Indexed;

import java.lang.annotation.*;

@ErBaoShenService
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Indexed
public @interface Service {
    Class<?> interfaceClass() default void.class;

    /**
     * Interface class name, default value is empty string
     */
    String interfaceName() default "";

    /**
     * Service version, default value is empty string
     */
    String version() default "";

    /**
     * Service group, default value is empty string
     */
    String group() default "";
}
